package com.android.videotest;

import android.widget.VideoView;

import androidx.annotation.Nullable;

/**
 * 项目名称：VideoTest
 * 类 名 称：VideoHelper
 * 类 描 述：VideoHelper
 * 创建时间：2019-11-11 15:15
 * 创 建 人：sansecy
 */
public class VideoHelper {
    private VideoView mVideoView;

    public void attachToVideoView(@Nullable VideoView videoView)
            throws IllegalStateException {
        if (mVideoView == videoView) {
            return; // nothing to do
        }
        if (mVideoView != null) {
//            destroyCallbacks();
        }
        mVideoView = videoView;
        if (mVideoView != null) {
//            setupCallbacks();

        }
    }
}
